package cn.getech.data.development.mapper;

import cn.getech.data.development.entity.BdpRealTaskAlarmObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 实时任务告警对象 Mapper 接口
 * </p>
 *
 * @author hujz
 * @since 2021-04-08
 */
@Mapper
public interface BdpRealTaskAlarmObjectMapper extends BaseMapper<BdpRealTaskAlarmObject> {

    List<BdpRealTaskAlarmObject> listAndNameByIds(@Param("alarmIds") List<Integer> alarmIds);

    int batchInsert(@Param("list")List<BdpRealTaskAlarmObject> list);
}
